package com.jml;

import java.util.concurrent.Callable;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;

public class ThreadTest {

    static class Th implements Runnable{

        @Override
        public void run() {

        }
    }


    public static void main(String[] args) throws InterruptedException {
        Th t = new Th();
        Thread thread = new Thread(t);
        thread.start();
        synchronized (thread){
            thread.wait();
        }


    }


}
